import { AssetStringFormat } from "@/data/shared/mediaTypes";

export const isVideo = (assetString: AssetStringFormat) => {
  const splitAssetString = assetString.split(".");
  return splitAssetString[splitAssetString.length - 1] === "mp4";
};
